package com.moss.system.service.impl;

import com.moss.common.vo.dashboard.CheckCompanyRank;
import com.moss.common.vo.dashboard.CheckGoodsRank;
import com.moss.common.vo.dashboard.DashboardParams;
import com.moss.system.mapper.DashBoardMapper;
import com.moss.system.service.DashBoardService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class DashBoardServiceImpl implements DashBoardService {

    @Resource
    DashBoardMapper dashBoardMapper;


    @Override
    public List<CheckCompanyRank> checkCompanyRank(DashboardParams dashboardParams) {
        return dashBoardMapper.checkCompanyRank(dashboardParams);
    }


    @Override
    public List<CheckGoodsRank> checkGoodsRank(DashboardParams dashboardParams) {
        return dashBoardMapper.checkGoodsRank(dashboardParams);
    }
}
